-- GENERATED SPELL FOR [Rak'shiri] --


function spell0_10200(pUnit, Event) --@Terrify,n/a--
pUnit:FullCastSpellOnTarget(7399,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10200', 4299, 1)
end

function Sorts_10200(pUnit, Event)
local choix_sorts_10200 = math.random(0, 0)
if choix_sorts_10200 == 0 then
pUnit:RegisterEvent('spell0_10200', 1, 1)
end
end

function mob10200_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10200', math.random(1500, 3000), 1)
end

function mob10200_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10200_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10200_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10200, 1, 'mob10200_Action')
RegisterUnitEvent(10200, 2, 'mob10200_Leave')
RegisterUnitEvent(10200, 3, 'mob10200_Kill')
RegisterUnitEvent(10200, 4, 'mob10200_Die')
